// app.js
import { lastVisitor, projectConfig } from './utils/api.js';

App({
  onLaunch() {
    let openId = wx.getStorageSync('openId') ? wx.getStorageSync('openId') : ''
    lastVisitor({ openid: openId}).then(res=>{})   
  },
  globalData: projectConfig
})
